package com.dyit.springcloud.hospital.doctor.config;

import com.dyit.springcloud.hospital.common.config.AbstractSwaggerConfig;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import springfox.documentation.spring.web.plugins.Docket;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @author dyit
 */
@Configuration
@EnableSwagger2
public class DoctorSwaggerConfig extends AbstractSwaggerConfig {

    @Bean
    public Docket createRestApi(){
        return createRestApi("医院预约挂号子系统-医生模块",
                "一个好系统",
                "https://www.baidu.com",
                "v1.0","com.dyit.springcloud.hospital.doctor.controller");
    }
}
